<%--
  Created by IntelliJ IDEA.
  User: 21257
  Date: 2020/8/14
  Time: 21:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table align="1px">
    <tr>
        <th>序号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>学号</th>
    </tr>
<c:forEach items="${student}" var="stu" varStatus="sta">
    <tr>
        <td>${sta.index+1}</td>
        <td>${stu.username}</td>
        <td>${stu.age}</td>
        <td>${stu.id}</td>
    </tr>
</c:forEach>
</table>
</body>
</html>
